package com.siwei.mes.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 任务单导出报表dto
 *
 * @Description: 任务单导出报表dto
 * @Version: 1.0
 * @author: yangke
 * @date: 2025/9/21 22:10
 */
@Data
@Accessors(chain = true)
public class ExportRwdextraPrintDto {
    @ApiModelProperty(value = "企业名称")
    private String companyName;
    @ApiModelProperty(value = "日期数组")
    private List<PrintDateList> printDateList;


    @Data
    @Accessors(chain = true)
    @ApiModel("日期数组")
    public static class PrintDateList {
        @ApiModelProperty(value = "任务单日期")
        private Date rwdextraTime;
        @ApiModelProperty(value = "任务单数组")
        private List<RwdextraList> rwdextraList;
    }

    @Data
    @Accessors(chain = true)
    @ApiModel("任务单数组")
    public static class RwdextraList {
        @ApiModelProperty(value = "任务单id")
        private Integer frwdh;
        @ApiModelProperty(value = "强度等级")
        private String designStrengthGrade;
        @ApiModelProperty(value = "任务单编号")
        private String taskNumber;
        @ApiModelProperty(value = "施工单位")
        private String constructionUnit;
        @ApiModelProperty(value = "工程名称")
        private String projectName;
        @ApiModelProperty(value = "浇筑部位")
        private String constructionPart;
        @ApiModelProperty(value = "配合比编号")
        private String phbNumber;
        @ApiModelProperty(value = "产量")
        private Float productionVolume;
        @ApiModelProperty(value = "抗压编号数组")
        private List<String> kyList;
        @ApiModelProperty(value = "抗渗编号数组")
        private List<String> ksList;
    }
}
